package com.coment.po;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

/// 玩家宠物 {@link com.coment.cfg.luban.items.PetCfg}
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserPet {
    /// id
    @Id
    private String id;

    /// 用户id
    private int userInfoId;

    /// 宠物id
    private int petId;

    /// 宠物等级
    public int lv;

    /// skill
    public int skillLV;

    public UserPet(int userInfoId, int petId, int lv) {
        this.userInfoId = userInfoId;
        this.petId = petId;
        this.lv = lv;
        this.skillLV = 1;
    }
}
